			<form name="userIndexForm" id="userIndexForm" action="administrator<?=CHOSING_DE?>log<?=CHOSING_DE?>product" method="get">
				
				<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CEE7FF" style="border-collapse:collapse">
					<tr>
						<td width="20%" class="bbgg">
							<strong>用户</strong>
						</td>
						<td width="20%" class="bbgg">
							<strong>日期</strong>
						</td>						
						<td width="20%" class="bbgg">
							<strong>ip</strong>
						</td>
						<?php if ($this->type == ''):?>
						<td width="20%" class="bbgg">
							<strong>产品</strong>
						</td>	
						<?php else:?>
						<td width="20%" class="bbgg">
							<strong>detail</strong>
						</td>
						<?php endif;?>					
					</tr>		
					<?php foreach ($this->list as $v):?>				
					<tr bgcolor="#FFFFFF">
						<td align="center" valign="middle">
							<?php if (!empty($v['uid'])):?>
								<?php 
									$user = $this->member->getUserDetails(array('uid'=>$v['uid']));
									echo $user[0]['username'] . ' email:' . $user[0]['email'];
								?>
							<?php else:?>
								none
							<?php endif;?>
						</td>
						<td align="center">
							<?php echo $v['addtime'];?>
						</td>						
						<td align="center">
							<?php echo $v['ip'];?>
						</td>
						<?php if ($this->type == ''):?>
						<td align="center">
							<?php 
								$item = $this->product->find($v['itemid'])->current();
							?>
							<a href="<?php echo $this->url($v['itemid']);?>" target="_blank"><?php echo $item->subject;?></a>
						</td>
						<?php else:?>
							<td align="center">					
								<a href="administrator-log-productdetail?type=<?php echo $this->type?>&<?php echo $this->type?>=<?php echo $v[$this->type];?>" target="_blank">more</a>
							</td>
						<?php endif;?>					
					</tr>
					<?php endforeach;?>													
				</table>
				<br />
				
				<div style="margin:10px">共 <?=$this->pageCount;?> 页　<?=$this->pageString?></div>
			</form>